package br.com.java.service.impl;

import java.io.Serializable;

import org.springframework.stereotype.Service;

import br.com.java.dao.CabecalhoDAO;
import br.com.java.entities.Cabecalho;
import br.com.java.service.CabecalhoService;

@Service
public class CabecalhoServiceImpl extends GenericServiceImpl<Cabecalho, Long, CabecalhoDAO> implements Serializable, CabecalhoService{

	private static final long serialVersionUID = -4697307073735082065L;
	
	public Cabecalho buscarUltimoRegistro(){
		return baseDao.findLastRecord();
	}

}
